libxc: use an explicit check for PV MSRs in xc_domain_save()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Jun 2014 14:58:47 +0000 (16:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Jun 2014 14:58:47 +0000 (16:58 +0200)
commitdb24f7f0123c3103e0d7860a7dc3be84463d1814
treeefa3f6475ce07881c5667de0e9760802a7db8022
parent8c3c9eee0c1129b0c5789ded48ee85007fa74b02
libxc: use an explicit check for PV MSRs in xc_domain_save()

Migrating PV domains using MSRs is not supported.  This uses the new
XEN_DOMCTL_get_vcpu_msrs and will fail the migration with an explicit error.

This is an improvement upon the current failure of
  "No extended context for VCPUxx (ENOBUFS)"

Support for migrating PV domains which are using MSRs will be included in the
migration v2 work.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/xc_domain_save.c